<!DOCTYPE html>
<html ng-app="userInfoModule">
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
    <link rel="stylesheet" href="css/bootstrap.min.css"/>
    <link rel="stylesheet" href="css/common.css"/>
    <link rel="stylesheet" href="css/login.css"/>
</head>
<body>
<header>
    <div class="bg-primary">
        <h1>HEADER</h1>
    </div>
</header>
<div class="container">
    <div class="panel panel-primary">
        <div class="panel-heading">
            <div class="panel-title">登录</div>
        </div>
        <div class="panel-body">
            <div class="row">
                <div class="col-md-12">
                    <form class="form-horizontal" action="" role="form" ng-controller="UserInfoCtrl">
                        <div class="form-group">
                            <label class="col-md-2 control-label">邮箱：</label>
                            <div class="col-md-10">
                                <!--<input type="email" class="form-control" ng-model="userInfo.email" placeholder="推荐使用126邮箱"/>-->
                                <input type="email" class="form-control"  placeholder="推荐使用126邮箱"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-2 control-label">密码：</label>
                            <div class="col-md-10">
                                <!--<input type="password" ng-model="userInfo.password" ng-maxlength="20" class="form-control" />-->
                                <input type="password"  ng-maxlength="20" class="form-control" />
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-md-offset-2 col-md-10">
                                <div class="checkbox">
                                    <label>
                                        <input ng-model="userInfo.autoLogin" type="checkbox"/>自动登录
                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-md-offset-2 col-md-10">
                                <button type="submit" class="btn btn-primary btn-lg">登录</button>
                                <button class="btn btn-default btn-lg btn-success">注册</button>
                                <!--<button type="submit" class="btn btn-primary" ng-click="getFormData()">获取用户信息</button>
                                <button class="btn btn-default btn-success" ng-click="toggle()">获取用户信息</button>
                                <button class="btn btn-default btn-warning" ng-click="setFormData()">设置用户信息</button>
                                <button class="btn btn-default btn-info" ng-click="resetFormData()">重置用户信息</button>-->
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>

</div>
</body>
<script src="js/zepto.min.js"></script>
<script src="js/angular.min.js"></script>
<script src="js/form.js"></script>
<script src="js/touch.js"></script>
<script>
    $('.container').swipeLeft(function () {
        console.log(0);
    });
</script>
</html>